const options = {
  computed: {
    getBtnAutMixin() {
      let m = this.$store.state.menus.filter((item) => {
        // 判断当前正在访问的路由页面，对应的按钮权限有那些
        return item.right_path == this.$route.path;
      });
      return m[0].right_function;
    },
  },
};

export default {
  install: function (Vue) {
    Vue.mixin(options);
  },
};
